<?xml version="1.0"?>
<!DOCTYPE pdf PUBLIC "-//big.faceless.org//report" "report-1.1.dtd">
<pdf>
    <head>
        <link name="NotoSans" type="font" subtype="truetype" src="${nsfont.NotoSans_Regular}"
              src-bold="${nsfont.NotoSans_Bold}" src-italic="${nsfont.NotoSans_Italic}"
              src-bolditalic="${nsfont.NotoSans_BoldItalic}" bytes="2"/>
        <link name="NotoSansCJKsc" type="font" subtype="opentype" src="${nsfont.NotoSansCJKsc_Regular}"
              src-bold="${nsfont.NotoSansCJKsc_Bold}" bytes="2"/>
        <style type="text/css">
            *{
                <#if .locale == "zh_CN">
                font-family: NotoSans, NotoSansCJKsc, sans-serif;
                <#elseif .locale == "zh_TW">
                font-family: NotoSans, NotoSansCJKtc, sans-serif;
                <#elseif .locale == "ja_JP">
                font-family: NotoSans, NotoSansCJKjp, sans-serif;
                <#elseif .locale == "ko_KR">
                font-family: NotoSans, NotoSansCJKkr, sans-serif;
                <#elseif .locale == "th_TH">
                font-family: NotoSans, NotoSansThai, sans-serif;
                <#else>
                font-family: NotoSans, NotoSansCJKsc, sans-serif;
                </#if>
            }
            body {
                margin: 0;
                padding: 0;
            }
            table.content {
                width: 100%;
                height: 29.7mm;
                font-size: 8px;
                table-layout: fixed;
            }

            tr {
                height: 10px;
            }

            td {
                vertical-align: middle;
                text-align: center;
            }

            span {
                color: #999;
            }
        </style>
    </head>
    <body width="52.5mm" height="29.7mm">
    <table class="content">
        <tr></tr>
        <tr></tr>
        <tr>
            <td>
                <barcode codetype="code128" showtext="true" width="50mm" height="10mm" value="${label.barcode}"/>
            </td>
        </tr>
        <tr>
            <td valign="middle" align="center">${label.displayname}</td>
        </tr>
    </table>

    </body>
</pdf>